<?php
class DemoController extends Pfinal_Controller_Abstract implements Pfinal_Controller_Interceptable {
	
	public function addInterceptor(Pfinal_Config_Interceptor $interceptor){
		$interceptor->add(new My_Interceptor());
		//$interceptor->add(new Test_Interceptor());
	}

	public function index() {
		
	
		$this->httpResponse->setProperty('key','value');
		$this->httpResponse->setProperty('value',$this->httpRequest->get('test'));
		$this->renderHtml('hello.html');
	}
	/**
	 * docDemo
	 */
	public function docDemo(){
		print_r(__FUNCTION__);
	}
}

?>